package com.ruoyi.mk.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 终端日志对象 mk_zdrz
 * 
 * @author guan
 * @date 2021-12-13
 */
public class MkZdrz extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志编号 */
    private Long rzId;

    /** 外键 日志表id */
    @Excel(name = "外键 日志表id")
    private Long zdId;

    /** 帧数计时器 */
    @Excel(name = "帧数计时器")
    private Long rzJishi;

    /** 0/1 0正常 1异常报警类型（终端表获取） */
    @Excel(name = "0/1 0正常 1异常报警类型", readConverterExp = "终=端表获取")
    private Long rzBaojing;

    /** 信号强度（终端表获取） */
    @Excel(name = "信号强度", readConverterExp = "终=端表获取")
    private Long rzXinhao;

    /** 剩余电量（终端表获取） */
    @Excel(name = "剩余电量", readConverterExp = "终=端表获取")
    private Long rzDianliang;

    /** 当前数据（终端表获取） */
    @Excel(name = "当前数据", readConverterExp = "终=端表获取")
    private String rzData;

    /** 报警详情（终端表获取） */
    @Excel(name = "报警详情", readConverterExp = "终=端表获取")
    private String rzXiangqing;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rzCreatetime;

    /** 创建者 */
    @Excel(name = "创建者")
    private String rzCreateuser;

    /** 0/1 0正常 1删除 */
    @Excel(name = "0/1 0正常 1删除")
    private Long rzZhuangtai;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rzUpdatetime;

    /** 修改者 */
    @Excel(name = "修改者")
    private String rzUpdateuser;

    public void setRzId(Long rzId) 
    {
        this.rzId = rzId;
    }

    public Long getRzId() 
    {
        return rzId;
    }
    public void setZdId(Long zdId) 
    {
        this.zdId = zdId;
    }

    public Long getZdId() 
    {
        return zdId;
    }
    public void setRzJishi(Long rzJishi) 
    {
        this.rzJishi = rzJishi;
    }

    public Long getRzJishi() 
    {
        return rzJishi;
    }
    public void setRzBaojing(Long rzBaojing) 
    {
        this.rzBaojing = rzBaojing;
    }

    public Long getRzBaojing() 
    {
        return rzBaojing;
    }
    public void setRzXinhao(Long rzXinhao) 
    {
        this.rzXinhao = rzXinhao;
    }

    public Long getRzXinhao() 
    {
        return rzXinhao;
    }
    public void setRzDianliang(Long rzDianliang) 
    {
        this.rzDianliang = rzDianliang;
    }

    public Long getRzDianliang() 
    {
        return rzDianliang;
    }
    public void setRzData(String rzData) 
    {
        this.rzData = rzData;
    }

    public String getRzData() 
    {
        return rzData;
    }
    public void setRzXiangqing(String rzXiangqing) 
    {
        this.rzXiangqing = rzXiangqing;
    }

    public String getRzXiangqing() 
    {
        return rzXiangqing;
    }
    public void setRzCreatetime(Date rzCreatetime) 
    {
        this.rzCreatetime = rzCreatetime;
    }

    public Date getRzCreatetime() 
    {
        return rzCreatetime;
    }
    public void setRzCreateuser(String rzCreateuser) 
    {
        this.rzCreateuser = rzCreateuser;
    }

    public String getRzCreateuser() 
    {
        return rzCreateuser;
    }
    public void setRzZhuangtai(Long rzZhuangtai) 
    {
        this.rzZhuangtai = rzZhuangtai;
    }

    public Long getRzZhuangtai() 
    {
        return rzZhuangtai;
    }
    public void setRzUpdatetime(Date rzUpdatetime) 
    {
        this.rzUpdatetime = rzUpdatetime;
    }

    public Date getRzUpdatetime() 
    {
        return rzUpdatetime;
    }
    public void setRzUpdateuser(String rzUpdateuser) 
    {
        this.rzUpdateuser = rzUpdateuser;
    }

    public String getRzUpdateuser() 
    {
        return rzUpdateuser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rzId", getRzId())
            .append("zdId", getZdId())
            .append("rzJishi", getRzJishi())
            .append("rzBaojing", getRzBaojing())
            .append("rzXinhao", getRzXinhao())
            .append("rzDianliang", getRzDianliang())
            .append("rzData", getRzData())
            .append("rzXiangqing", getRzXiangqing())
            .append("rzCreatetime", getRzCreatetime())
            .append("rzCreateuser", getRzCreateuser())
            .append("rzZhuangtai", getRzZhuangtai())
            .append("rzUpdatetime", getRzUpdatetime())
            .append("rzUpdateuser", getRzUpdateuser())
            .toString();
    }

    public MkZdrz(Long rzId, Long zdId, Long rzJishi, Long rzBaojing, Long rzXinhao, Long rzDianliang, String rzData, String rzXiangqing, Date rzCreatetime, Long rzZhuangtai) {
        this.rzId = rzId;
        this.zdId = zdId;
        this.rzJishi = rzJishi;
        this.rzBaojing = rzBaojing;
        this.rzXinhao = rzXinhao;
        this.rzDianliang = rzDianliang;
        this.rzData = rzData;
        this.rzXiangqing = rzXiangqing;
        this.rzCreatetime = rzCreatetime;
        this.rzZhuangtai = rzZhuangtai;
    }

    public MkZdrz(Long rzId, Long zdId, Long rzJishi, Long rzBaojing, Long rzXinhao, Long rzDianliang, String rzData, String rzXiangqing, Date rzCreatetime, String rzCreateuser, Long rzZhuangtai, Date rzUpdatetime, String rzUpdateuser) {
        this.rzId = rzId;
        this.zdId = zdId;
        this.rzJishi = rzJishi;
        this.rzBaojing = rzBaojing;
        this.rzXinhao = rzXinhao;
        this.rzDianliang = rzDianliang;
        this.rzData = rzData;
        this.rzXiangqing = rzXiangqing;
        this.rzCreatetime = rzCreatetime;
        this.rzCreateuser = rzCreateuser;
        this.rzZhuangtai = rzZhuangtai;
        this.rzUpdatetime = rzUpdatetime;
        this.rzUpdateuser = rzUpdateuser;
    }

    public MkZdrz() {
    }
}
